<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>

<body>
<form name ="form" action="http://PetC-PC:8080/Project1/Servlet3" method="post" id="form">

<input type="hidden" id="pobocka1" name= "pobocka1"value="BA">
<input type="hidden" id="pobocka2" name= "pobocka2"value="${pobocka}">
<input type="hidden" id="meno" name= "meno"value="${k.getMeno().getA()}">
<input type="hidden" id="priezvisko" name= "priezvisko" value="${k.getPriezv().getA()}">
<input type="hidden" id="rod_cislo" name= "rod_cislo" value="${k.getRodC().getA()}">

</form>

<script  type="text/javascript">document.getElementById('form').submit();</script>

</body>
</html>